package com.quanxi.qxaimain.service.hystrixServer;

import com.alibaba.fastjson.JSONObject;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @Author lyx
 * @create 2022/9/23 16:52
 */
public interface hystrixServer {
    String demo(int timeMills) throws InterruptedException;
    JSONObject exec_sql_overtime_60s(String sql);//超时60s处理
    JSONObject exec_sql_overtime_no(String sql);//不限制时间 返回结果 输出日志文件
    JSONObject exec_sql_overtime_mondb(String sql);//超时60s 存进mogdb


//    String getString(String string) throws InterruptedException ;
}